package com.letoken.platform.repo.app.req.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.letoken.platform.repo.mall.po.AppMallEvaluate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "发表评价", description = "发表评价对象")
public class PushEvaluateReq implements Serializable {




    @ApiModelProperty(value = "用户ID")
    @NotNull(message = "80000007")
    private Integer orderId;

    @ApiModelProperty(value = "评分")
    @NotNull(message = "80000007")
    private Float score;

    @ApiModelProperty(value = "0=匿名 1=非匿名")
    @NotNull(message = "80000007")
    private Integer anonymous;

    @ApiModelProperty(value = "评价内容")
    @NotNull(message = "80000007")
    private String content;


}
